<?php echo $this->paginaTitulo( $this->subtitle ); ?>

<?php
$url_action = $this->baseUrl . '/admin/sitios/' . $this->action;
$pars_campo_nombre =  array(
	'label' => 'nombre',
	'text' => 'Nombre',
	'size' => '40',
	'value' => $this->escape ( trim ( $this->sitio->nombre ) )
);
$pars_campo_titulo =  array(
	'label' => 'titulo',
	'text' => 'titulo',
	'size' => '40',
	'value' => $this->escape ( trim ( $this->sitio->titulo ) )
);
$pars_campo_descripcion =  array(
	'label' => 'descripcion',
	'text' => 'descripcion',
	'size' => '40',
	'value' => $this->escape ( trim ( $this->sitio->descripcion ) )
);
$pars_orden =  array(
	'label' => 'orden',
	'text' => 'orden',
	'size' => '1',
	'value' => $this->escape ( trim ( $this->sitio->orden ) )
);
$pars_campo_por_defecto =  array(
	'label' => 'por_defecto',
	'text' => 'por defecto',
	'size' => '1',
	'value' => $this->escape ( trim ( $this->sitio->por_defecto ) )
);
$pars_submit = array(
	'value'  => $this->sitio->id,
	'submit' => $this->escape ( $this->buttonText )
);
$pars_url_home =  array(
	'label' => 'url_home',
	'text' => 'url home',
	'size' => '40',
	'value' => $this->escape ( trim ( $this->sitio->url_home ) )
);
?>

<form class="cssform" action="<?php	echo $url_action;?>" method="post">

	<?php echo $this->formularioCampo( $pars_campo_nombre );?>
	<?php echo $this->formularioCampo( $pars_campo_titulo );?>
	<?php echo $this->formularioCampo( $pars_campo_descripcion );?>
	<?php echo $this->formularioCampo( $pars_orden );?>
	<?php echo $this->formularioCampo( $pars_url_home );?>

	<p>
		<label for="privado">por defecto:</label>
		<input type='radio' name="por_defecto" value="1" <?php if ($this->escape($this->sitio->por_defecto) == 1) echo 'checked="checked"'; ?>>Si
		<input type='radio' name="por_defecto" value="0" <?php if ($this->escape($this->sitio->por_defecto) == 0) echo 'checked="checked"'; ?>>No
	</p>

	<?php echo $this->formularioSubmit( $pars_submit );?>

</form>
